package com.example.tms.mapper;

import com.example.tms.bean.CycleInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface CycleMapper extends JpaRepository<CycleInfo,String> {

    CycleInfo findTop1ByXlidAndYxzqAndYxrqLessThanEqualOrderByTjsjDesc(String xlid, String yxzq, String yxrq);
}
